<?php 
?>
<div class="view">
    
    
    <div class="product-overview-image">	
          	<?php 
		  	if($data->images){
		   		$this->renderPartial('/image/view', array('thumb' =>true, 'model' => $data->images[0], 'desc' => $data->description));
			}else {
				echo CHtml::image(Shop::register('no-pic.jpg'));
			}?>
	</div>
    
     <div class="product-overview-description">
         <h3>
		<?php echo CHtml::link(CHtml::encode($data->name), array('products/view', 'id' => $data->id)); ?>
    </h3>
        <div class="desc"><?php echo Product::limitDesc($data->description,150); ?> </div>
      
         
    </div>
    
    <div class="clear"></div>
</div>
<div class="view-bottom"></div>
